Cloudinary\Delivery D

Total Complexity 177
Dependencies 10
Dependents 5
Total lines 1,387
Lines of code 731
Logical lines of code 452
Comment lines 495
Methods 46
Properties 12

Methods 46

Method Rating Maintainability Complexity Lines of code
parse_element()
C
33 24 94
standardize_tag()
B
35 19 81
set_usability()
A
51 10 25
convert_tags()
A
47 9 36
get_urls()
A
45 7 40
validate_url()
A
56 8 18
create_size_relation()
S
49 7 29
find_attachment_size_urls()
S
47 6 36
rebuild_tag()
S
53 6 21
get_sized()
S
55 5 19
get_context_cache()
S
58 5 15
create_delivery()
S
55 4 19
sanitize_url()
S
62 5 10
is_allowed_type()
S
59 4 14
maybe_unsize_url()
S
62 4 10
is_deliverable()
S
65 4 8
process_featured_image()
S
59 3 14
get_media_tags()
S
62 3 11
catch_urls()
S
62 3 11
dns_prefetch()
S
70 3 6
get_transformations_maybe()
S
63 3 10
generate_signature()
S
63 3 10
clean_url()
S
60 2 13
setup_hooks()
S
60 2 12
register_sync_type()
S
54 1 24
init()
S
56 1 18
get_current_post_id()
S
80 2 3
is_content_dir()
S
63 2 10
make_scaled_url()
S
65 2 8
descaled_url()
S
64 2 9
update_relation()
S
72 2 5
get_settings_signature()
S
67 2 8
add_post_id()
S
63 1 13
__construct()
S
75 1 4
remove_replace_cache()
S
80 1 3
init_delivery()
S
74 1 4
do_clear_cache()
S
81 1 3
clear_cache()
S
81 1 3
delete_bulk_size_relations()
S
62 1 10
update_size_relations_transformations()
S
66 1 8
update_size_relations_state()
S
66 1 8
update_size_relations_public_id()
S
66 1 8
unsync_size_relationship()
S
70 1 6
delete_size_relationship()
S
72 1 5
get_content_path()
S
74 1 4
setup()
S
74 1 5